<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<%@ page isELIgnored="false" %>

<c:if test="${loggedIn eq true}">
	Welcome, ${userName}. <a href="${url}">Logout</a>.
	
	<br />
	<br />
	
	<a href="/_ah/admin" target="_blank">Local Datastore</a>
	<br />
	<br />
	<a href="/ui/createTournament">Create Tournament</a>
	<br />
	<a href="/ui/createMatch">Create Match</a>
	<br />
	<a href="/ui/createVenue">Create Venue</a>
	<br />
	<a href="/ui/createTeam">Create Team</a>
	<br />
	<a href="/ui/createBet">Create Bet</a>
	<br />
</c:if>

<c:if test="${loggedIn eq false}">
	Please <a href="${url}">Login</a>.
</c:if>
